import { request } from '@/services/request';
import type { getRoleListParams,createUseParams } from './data';

//获取会员列表
export async function getRoleList(data: getRoleListParams) {
    return request('/adminapi/getRoleList', {
        params: data,
    });
}

//创建用户
export async function createUser(data: createUseParams) {
    return request('/adminapi/createUser', {
        params: data,
    });
}


